
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>   
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
        <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
        <title>JSP Page</title>
    </head>
    <body>
        <h1>login successfully</h1>
        <p>${u.username}</p>
        <div class="container">
            <div class="row"  >
                <div class="col-md-2"> </div>
                <div class="col-md-8" style="background-color: activeborder">
                    <table class="table table-hover">
                        <td>${"姓名 "}</td>
                        <td>${"性别 "}</td>
                        <td>${"出生日期 "}</td>
                        <td>${"学院 "}</td>
                        <td>${"班级 "}</td>
                        <c:forEach items="${list}" var="item">
                            <tr>
                                <td>${item.NAME}</td>
                                <td>${item.SEX}</td>
                                <td>${item.BIRTHDAY}</td>
                                <td>${item.COLLEGE}</td>
                                <td>${item.CLASS}</td>
                            </tr>
                        </c:forEach>
                    </table>
                </div>
                <div class="col-md-2"> </div>
            </div>
        </div>
    </body>
</html>
